﻿@model RoomViewModel
@using ApplicationCore.Entities;
@{
	ViewData["Title"] = "房间列表";
}

@{
	Layout = "~/Views/Shared/_Layout_Index.cshtml";
}
 
<div class="demoTable">
	搜索：
	<div class="layui-inline">
		<input class="layui-input" name="id" id="demoReload" autocomplete="off">
	</div>
	<button class="layui-btn" data-type="reload">搜索</button>
	<button class="layui-btn" data-type="add">添加</button>
</div>
<table class="layui-hide" id="list" lay-filter="demo"></table>
<script type="text/html" id="barDemo">
	<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="stop">开/关</a>
	<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
 <script>
	 layui.config({
		 base: '/layui/room/' //你存放新模块的目录，注意，不是layui的模块目录
	 }).use('index'); //加载入口
</script> 